<include file="Public/head"/>
<body class="no-skin">
<div class="main-container" id="main-container">
    <script type="text/javascript">
        try {
            ace.settings.check('main-container', 'fixed')
        } catch (e) {
        }
    </script>
    <div class="main-content">
        <div class="main-content-inner">
            <!-- /section:basics/content.breadcrumbs -->
            <div class="page-content">
                
                <div class="row">
                    <div class="col-xs-12">
                        <form class="form-horizontal" id="form" method="post" action="{:U('updateShenhe')}">

                            <!-- PAGE CONTENT BEGINS -->

                           <input type="hidden" name="uid" value="{$vo['id']}"/>
                            
                            <div class="form-group">
                                
                                <label class="col-sm-1 control-label no-padding-right" for="form-field-0">
                                    状态审核 </label>
                                <div class="col-sm-9">
                                    <select id="status" name="status" class="col-xs-10 col-sm-5">
                                        <option value="2">--通过--</option>
                                        <option value="3">--拒绝--</option>
                                    </select>
                                </div>
								
                            </div>
                            <div class="space-4"></div>
							<div class="form-group">
							    <label class="col-sm-1 control-label no-padding-right" for="form-field-1">
							        备注 </label>
							    <div class="col-sm-9">
							        <input type="text" name="remark" id="remark" placeholder="备注内容"
							               class="col-xs-10 col-sm-5">
							    </div>
							</div>
                            <div class="col-md-offset-2 col-md-9">
                                <button class="btn btn-info submit" type="button">
                                    <i class="icon-ok bigger-110"></i>
                                    提交
                                </button>

                                
                            </div>

                            <!-- PAGE CONTENT ENDS -->


                        </form>
                    </div><!-- /.col -->
                </div><!-- /.row -->
            </div><!-- /.page-content -->
        </div>
    </div><!-- /.main-content -->

</div><!-- /.main-container -->

<include file="Public/footerjs"/>
<!-- inline scripts related to this page -->
<script type="text/javascript">
  $(function () {
      $("#tabs").tabs();
      $(".submit").click(function () {
      	var st = "{$vo['status']}";
      	if(st == 1){
      		$("#form").submit();	
      	}
      });
  }); 
</script>
<script type="text/javascript">
	var close_flag = "{:I('close')}";
	if(close_flag == 1){
		var index = parent.layer.getFrameIndex(window.name); //先得到当前iframe层的索引
		parent.layer.close(index); //再执行关闭
		parent.location.reload();
	}
</script>
</body>
</html>
